|
rs2324 2.2.0
|
RS232 4 Click Example. More...
Macros | |
| #define | DEMO_APP_TRANSMITTER |
| #define | DEMO_TEXT_MESSAGE "MIKROE - RS232 4 Click board\r\n" |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
RS232 4 Click Example.
This example demonstrates the use of an RS232 4 Click board by showing the communication between the two Click board configured as a receiver and transmitter.
The demo application is composed of two sections :
Initializes the driver and logger and displays the selected application mode.
Depending on the selected mode, it reads all the received data or sends the desired message every 2 seconds.
| #define DEMO_APP_TRANSMITTER |
| #define DEMO_TEXT_MESSAGE "MIKROE - RS232 4 Click board\r\n" |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |